import Vue from "vue";
import store from './store'
import router from "./router";
import Cookies from 'js-cookie'
import 'amfe-flexible'
// import Cookies from 'js-cookie';
Vue.config.productionTip = false;

import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import './assets/styles/element-variables.scss'
import '@/assets/styles/index.scss' // global css
import '@/assets/styles/ruoyi.scss' // ruoyi css
import App from "./App.vue";

//导入所有组件。
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

// import Vconsole from 'vconsole';
// let vconsole = new Vconsole;
// vconsole

Vue.use(Element, {
  size: Cookies.get('size') || 'medium' // set element-ui default size
})

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");

